Really fix annotation for GtkDropTarget.get_gtypes()
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 9 Mar 2020 16:00:04 +0000 (17:00 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 9 Mar 2020 16:03:58 +0000 (17:03 +0100)
gtk/gtkdroptarget.c

index b93e43c46231a8da23bc8ead1b0240e5c2704417..632a8699a37da49462d8822a04a893cb13226ac8 100644 (file)
@@ -870,8 +870,9 @@ gtk_drop_target_set_gtypes (GtkDropTarget *self,
  * Gets the list of supported #GTypes for @self. If no type have been set,
  * %NULL will be returned.
  *
- * Returns: (transfer none) (nullable): %G_TYPE_INVALID-terminated array of 
- *     types included in @formats or %NULL if none.
+ * Returns: (transfer none) (nullable) (array length=n_types):
+ *      %G_TYPE_INVALID-terminated array of types included in @formats or
+ *      %NULL if none.
  **/
 const GType *
 gtk_drop_target_get_gtypes (GtkDropTarget *self,